| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

GlobalTimer.h
1 // GlobalTimer.h
3 //
5
6 namespace nkGraphics
7 {
11 class GlobalTimer
12 {
13 public :
14
18 GlobalTimer () noexcept ;
19
20 // Setters
26 void setModuloTime (unsigned long long moduloTime) ;
30 void updateFrameTime () ;
34 unsigned long long getDeltaTime () const ;
38 unsigned long long getFrameTime () const ;
39
43 unsigned long long getCurrentModuloTime () const ;
47 unsigned long long getCurrentModulo () const ;
51 bool getLoopedSinceLastTime () const ;
52
56 int getCurrentYear () ;
60 int getCurrentMonth () ;
64 int getCurrentDay () ;
68 int getCurrentHour () ;
72 int getCurrentMin () ;
76 int getCurrentSec () ;
77 } ;
78 }
nkGraphics::GlobalTimer::getLoopedSinceLastTime
bool getLoopedSinceLastTime() const
nkGraphics::GlobalTimer::getCurrentMin
int getCurrentMin()
nkGraphics::GlobalTimer::getCurrentSec
int getCurrentSec()
nkGraphics::GlobalTimer::GlobalTimer
GlobalTimer() noexcept
nkGraphics::GlobalTimer::getCurrentModulo
unsigned long long getCurrentModulo() const
nkGraphics::GlobalTimer::getCurrentHour
int getCurrentHour()
nkGraphics::GlobalTimer::getCurrentDay
int getCurrentDay()
nkGraphics::GlobalTimer::getCurrentYear
int getCurrentYear()
nkGraphics::GlobalTimer::updateFrameTime
void updateFrameTime()
nkGraphics::GlobalTimer::getCurrentMonth
int getCurrentMonth()
nkGraphics::GlobalTimer::getDeltaTime
unsigned long long getDeltaTime() const
nkGraphics::GlobalTimer::setModuloTime
void setModuloTime(unsigned long long moduloTime)
nkGraphics::GlobalTimer
A timer, giving timing capabilities.
Definition: GlobalTimer.h:12
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::GlobalTimer::getCurrentModuloTime
unsigned long long getCurrentModuloTime() const
nkGraphics::GlobalTimer::getFrameTime
unsigned long long getFrameTime() const